import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './plugins/element.js'

import 'lib-flexible'
import VueLazyload from 'vue-lazyload'

Vue.use(VueLazyload)
Vue.use(ElementUI)
Vue.config.productionTip = false
if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {
  Vue.prototype.$pc = false
} else {
  Vue.prototype.$pc = true
}
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
